import request from "./../request.js";


//钱包资金明细
export function deatailMoneyLog(data)
{
  return request.post("Users/deatailMoneyLog", data, { noAuth: true});
}


//金币资金明细
export function deatailjifenLog(data)
{
  return request.post("Users/deatailjifenLog", data, { noAuth: true});
}


//创建金币兑换订单
export function createJifenOrder(data)
{
  return request.post("jifen/jifen/createOrder", data, { noAuth: true});
}


//提现
// money=》提现金额
// withdraw_way=》提现方式:1=提现至零钱,2=提现至银行卡
// bankcard_id=》银行卡id
// mobile=》手机号
// realname=》真实姓名
export function withdraw(data)
{
  return request.post("Withdraw/withdraw", data, { noAuth: true});
}


// 添加银行卡
// name=》姓名
// bank_name=》银行名称
// bank_num=》银行卡号
// open_address=》开卡支行地址
export function addBankCard(data)
{
  return request.post("Withdraw/addBankCard", data, { noAuth: true});
}


//我的银行卡
export function myBank(data)
{
  return request.post("Withdraw/myBank", data, { noAuth: true});
}


// 删除银行卡
// bankcard_id=》银行卡id
export function delBank(data)
{
  return request.post("Withdraw/delBank", data, { noAuth: true});
}

//朋友推荐
export function getRandomFriends(data)
{
  return request.post("Friend/getRandomFriends", data, { noAuth: true});
}
//发布朋友圈
export function addFriendShip(data)
{
  return request.post("Friend/addFriendShip", data, { noAuth: true});
}
//发布朋友圈
export function getFriendList(data)
{
  return request.post("Friend/getFriendList", data, { noAuth: true});
}
//圈子评论列表和详情
export function getCommentList(data)
{
  return request.post("Friend/getCommentList", data, { noAuth: true});
}
//提交评论
export function submitComment(data)
{
  return request.post("Friend/submitComment", data, { noAuth: true});
}
//回复评论
export function replyComment(data)
{
  return request.post("Friend/replyComment", data, { noAuth: true});
}
//删除评论
export function del(data)
{
  return request.post("Friend/del", data, { noAuth: true});
}
//朋友圈点赞
export function like(data)
{
  return request.post("Friend/like", data, { noAuth: true});
}
//热门圈子列表
export function getCircleList(data)
{
  return request.post("Friend/getCircleList", data, { noAuth: true});
}

//创建圈子
export function createCircle(data)
{
  return request.post("Friend/createCircle", data, { noAuth: true});
}
//加入圈子
export function joinCircle(data)
{
  return request.post("Friend/joinCircle", data, { noAuth: true});
}
//编辑个人资料
export function updateUserinfo(data)
{
  return request.post("Users/updateUserinfo", data, { noAuth: true});
}

//获取预设头像
export function getUserAvatar(data)
{
  return request.post("Users/temporaryAvatar", data, { noAuth: true});
}

//贡献榜
export function getDevoteByList(data)
{
  return request.post("Friend/getDevoteByList", data, { noAuth: true});
}


//用户中心user后台菜单数据
export function getPagesUser(data)
{
  return request.post("Pages/pagesUser", data, { noAuth: true});
}



//基因提示内容
export function getGenhome(data)
{
  return request.post("Pages/genhome", data, { noAuth: true});
}


//金币中心的价格
export function getjifenList(data)
{
  return request.post("Pages/getjifenList", data, { noAuth: true});
}

//贡献值
export function getgongxianzhi(data)
{
  return request.post("Friend/allgongxian", data, { noAuth: true});
}

